<template>
    <button @click="showInfo">输出信息</button>
</template>
<script setup>
const showInfo = () => {
    console.log("欢迎来到Vue的世界")
}
</script>